package aerie.fs;

import groovy.util.ResourceException;

import javax.servlet.ServletContext;

public class ApplicationResources extends FSNeedle {

    private static final String ROOT = "/WEB-INF/aerie";

    public ApplicationResources(ServletContext servletContext) throws ResourceException {
        super(servletContext);
        registerResource("controllers", ROOT + "/controllers");
        registerResource("contexts", ROOT + "/contexts");
        registerResource("filters", ROOT + "/filters");
        registerResource("pages", ROOT + "/pages");
        registerResource("decorators", ROOT + "/decorators");
    }
}
